package org.stone926.airschool.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.stone926.airschool.bean.Course;
import org.stone926.airschool.dao.CourseDao;

@Service
public class CourseService {
	@Autowired
	private CourseDao courseDao;

	public List<Course> getAllCourseOfStudent(Integer sid) {
		return courseDao.getAllCourseOfStudent(sid);
	}
}
